package models.curriculum;

import play.*;
import play.db.jpa.*;

import javax.persistence.*;
import java.util.*;

@Entity
public class Subject extends Model {
    public String name;
    public String description;
    @ManyToOne
    public Curriculum curriculum;
    
	public Subject(String name, String description, Curriculum curriculum) {
		super();
		this.name = name;
		this.description = description;
		this.curriculum = curriculum;
	}
    
}
